package com.cn.aam.checaiduo.utils;

import com.cn.aam.checaiduo.R;

/**
 * monker on 2017/6/7.
 */

public class BankUtil {

    public static int getBankIcon(String bankName) {
        int drawable = 0;
        switch (bankName) {

            case "广发银行":
                drawable = R.drawable.ic_bank_guangfa;
                break;
            case "华夏银行":
                drawable = R.drawable.ic_bank_huaxia;
                break;
            case "建设银行":
                drawable = R.drawable.ic_bank_jianshe;
                break;
            case "交通银行":
                drawable = R.drawable.ic_bank_jiaotong;
                break;
            case "农业银行":
                drawable = R.drawable.ic_bank_nongye;
                break;
            case "平安银行":
                drawable = R.drawable.ic_bank_pingan;
                break;
            case "浦发银行":
                drawable = R.drawable.ic_bank_pufa;
                break;
            case "上海银行":
                drawable = R.drawable.ic_bank_shanghai;
                break;
            case "兴业银行":
                drawable = R.drawable.ic_bank_xingye;
                break;
            case "招商银行":
                drawable = R.drawable.ic_bank_zhaoshang;
                break;
            case "中国银行":
                drawable = R.drawable.ic_bank_china;
                break;
            case "中国工商银行":
                drawable = R.drawable.ic_bank_gongshang;
                break;
            case "中国民生银行":
                drawable = R.drawable.ic_bank_minsheng;
                break;
            case "中国光大银行":
                drawable = R.drawable.ic_bank_guangda;
                break;
            case "中国邮政银行":
                drawable = R.drawable.ic_bank_youzheng;
                break;
            case "中信银行":
                drawable = R.drawable.ic_bank_zhongxin;
                break;
        }
        return drawable;
    }

}
